package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.ClinicMedical;
import com.zshan.clinic.database.model.ClinicMedicalExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ClinicMedicalMapper extends SuperMapper {
    long countByExample(ClinicMedicalExample example);

    int deleteByExample(ClinicMedicalExample example);

    int deleteByPrimaryKey(Long medicalId);

    int insert(ClinicMedical row);

    int insertSelective(ClinicMedical row);

    List<ClinicMedical> selectByExample(ClinicMedicalExample example);

    ClinicMedical selectByPrimaryKey(Long medicalId);

    int updateByExampleSelective(@Param("row") ClinicMedical row, @Param("example") ClinicMedicalExample example);

    int updateByExample(@Param("row") ClinicMedical row, @Param("example") ClinicMedicalExample example);

    int updateByPrimaryKeySelective(ClinicMedical row);

    int updateByPrimaryKey(ClinicMedical row);
}